@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Irish+Grover&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    user-select: none;
    text-transform: uppercase;


}

a{
    color: var(--text-color);
}

/* ----------Loading Animation css end ------- */
:root {
    --bg-color: #ededed;
    --second-bg-color: #ededed;
    --bg-hf-color: #ffffff;
    --text-color: #081b29;
    --main-color: #00abf0;
    --logo-color: #ff2f00;
    --back-shadow-for-sidebar: 0.1875rem 0.1875rem 0.3125rem rgba(0, 0, 0, 0.4); /* Corrected variable name */
    --back-shodow-for-container: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  }

.dark-mode {
    --bg-color: #081b29;
    --bg-hf-color: #081b29;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --main-color: #00abf0;
    --logo-color: #ff2f00;
    --back-shadow-for-sidebar : 0.1875rem 0.1875rem 0.3125rem rgba(255, 255, 255, 0.4);
    --back-shodow-for-container:rgba(255, 255,255, .5) 0px 5px 15px;

  }

html {
    font-size: 100%;
    overflow-x: auto;
}

body {
  background: var(--bg-hf-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/*------------------------header-------------------------------- */
.header {
    position: relative; 
    top: 0;
    left: 0;
    width: 100%;
    height: 4.6875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-hf-color);
    box-shadow: var(--back-shadow-for-sidebar);
    /* border: 1px solid red; */
    z-index: 999;
    transition: top 0.3s; /* Added transition for smooth animation */
}

/*------------------------ logo-------------------------------- */
.logo {
    font-size: 2.8125rem;
    font-weight: 600;
    color: var(--logo-color); 
    font-family: "Irish Grover", system-ui;
    font-weight: 400;
    font-style: normal;


}

#logo-section {
    position: absolute;
    left: 3.125rem;
    top: 0;

}

/*------------------------ social meida design-------------------------------- */
.social-media {
    position: absolute;
    top: 2.8125rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;

}

.sm {
    background: var(--bg-color);
    border-radius: 50%;
    width: 1.35rem;
    height: 1.35rem;
    cursor: pointer;
    border: 0.0625rem solid var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sm a {
    color: var(--text-color);
    width: 100%;
    height: 100%;
    transition: .5s ease;
    font-size: .70em;
    display: flex;
    align-items: center;
    justify-content: center;
    

}

.sm a:hover {
    color: var(--logo-color);

}

.navbar{
    position: absolute;
    bottom: 1.25rem;
    right: 1.5625rem;
    /* border: 1px solid red; */
}

.navbar a {
    color: var(--text-color);
    font-size: 0.9375rem;
    margin-left: 1.1875rem;
    text-transform: uppercase;
}

.navbar a {
    color: var(--text-color);
    transition: .5s ease-in-out;
    font-weight: 450;
    /* border: 1px solid red; */
}

.navbar a:hover {
    color: var(--logo-color);
}

#mode ,#mode2{
    font-size: 2.1875rem;
}

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0.75rem;
    color: var(--text-color);
    transition: color 0.3s ease-in-out;

}

.menu-icon:hover {
    color: var(--logo-color);
}

    /*------------------------ Container design start------------------------------- */
    .container {
        width: 100%;
        background-color: var(--bg-color);
        display: flex;
        flex: 1;
        /* border: .2rem solid rgb(0, 255, 94); */
        font-family: 'Irish Grover', sans-serif;
        position: relative;
      }
      
      .left-sidebar {
        position: absolute;
        top: 0;
        left: 0;
        width: 5rem;
        border-right: 0.0625rem solid var(--second-bg-color);
        background-color: var(--bg-hf-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        transition: transform 0.3s ease-in-out;
        height: 100%;
        /* border: 2px solid red; */
      }
      
      .left-sidebar.collapsed {
        transform: translateX(-105%);
        /* width: 0; */
      }
      
      .content {
        position: absolute;
        top: 0;
        left: 5rem;
        right: 0;
        height: 100%;
        /* border: .1rem solid blue; */
        overflow: auto;
      }
      
      .left-sidebar.collapsed + .content {
        left: 0;
      }
      .left-sidebar-icon {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: color 0.3s;
        user-select: none;
        height: 20%;
        transition: .3s ease;
        border-radius: .5rem;

    }

    .left-sidebar-icon:hover{
        background: var(--second-bg-color);
    }


    .left-sidebar-icon i {
        font-size: 1.5625rem;
        border-radius: 1.5625rem;
        padding: 0.375rem 1.1875rem;
        transition: background-color .3s ease , color .3s ease;
    }
    .left-sidebar-icon span{
        font-size: 0.625rem;
        font-weight: 600;
    }


    .stay {
        color: var(--logo-color);
        background: var(--second-bg-color);
    }

    .stay i{
        color: var(--logo-color);
        background: var(--second-bg-color);
    }


    .main-content{
        border:0;
        width: 100%;
        height: 100%;
        overflow: auto;
        position: relative;
    } 

    .main-content::-webkit-scrollbar {
        width: .1rem;
      }
      
      .main-content::-webkit-scrollbar-thumb {
        /* background: var(--text-color); */
        border-radius: 12px;
      }
      

      .main-content {
        font-family: sans-serif;
        /* background: var(--bg-color); */
      }

 
    

    /*------------------------ Container design  end------------------------------- */

/*------------------------ side bar-------------------------------- */
/*------------------------ side bar-------------------------------- */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 16.875rem;
    z-index: 999;
    background-color: var(--bg-hf-color);
    box-shadow: var(--back-shadow-for-sidebar);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.box{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.box a {
    color: var(--text-color);
    margin-top: 2.1875rem;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color .5s ease ;
    /* border: 1px solid red;   */
}

.box a:hover {
    color: var(--logo-color);
    
}

/* menu icon and close icon */
.open-icon{
    display: none;
    transition: .5s ease;
    cursor: pointer;
    position: absolute;
    top: -0.0625rem;
    right: 0;
    /* border: 1px solid red;   */
    /* height: 100%; */
}

.open-icon span{
    font-size: 1.875rem;
    font-weight: 600;
    /* border: 1px solid red;   */
}

.open-icon span:hover{
    color: var(--logo-color);
}

.close-icon{
    width: 100%;
    height: 7.3125rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    /* border: 1px solid red;   */
    position: relative;
}

.close-icon span{
    font-size: 2.1875rem;
    /* border: 1px solid red;   */
    margin-right: 1.1rem;
    position: absolute;
    top: 1.1rem;

    
}

.close-icon span:hover{
    color: var(--logo-color);
}

/* copyrights*/
.side-bar-copyrights{
    position: absolute;
    bottom: 0;
    padding-left: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 10.5%;
    border-top: 0.075rem solid var(--text-color);
}

.side-bar-copyrights p{
    font-size: 0.75rem;
    font-weight: 600;
    /* border: 1px solid red; */

}

.side-bar-copyrights p a{
    font-size: 0.75rem;
}

footer{
    position: relative;
    bottom: 0;
    background: var(--bg-color);
    color: var(--text-color);
    width: 100%;
    height: 3.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.625rem 2.6%;
    background: var(--bg-hf-color);
    box-shadow: var(--back-shadow-for-sidebar);
    z-index: 999;

}

.col p{
    color: var(--text-color);
    font-size: 1rem;

}

.col p a{
    color: var(--text-color);
}

.socialIcons i{
    display: inline-block;
    color: var(--text-color);
    font-size: 1.3rem;
    margin-right: 1.5625rem;
    transition: 0.5s;

}

.socialIcons i:hover{
    color: var(--logo-color);
}

/* -----------------main header footer and sidebar design completed at line number 454 */

/* -----------------Subject page design starts-----------------------. */

.main-content{
    display: flex;
    align-items: center;
    justify-content: center;
}

.container2{
    box-shadow: var(--back-shodow-for-container);
    /* margin: 1rem auto; */
    height: 95%;
    max-height: 40rem;
    width: 90%;
    max-width: 35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 1rem;
    padding: 1rem;
    padding-bottom: 7rem;
    position: relative;


}

.heading{
    /* border: 1px solid red; */
    text-align: center;
}

.main-heading , .sub-heading ,.subject{
    font-family: "Irish Grover", system-ui;
    letter-spacing: .1rem;
}




#back-arrow {
    position: absolute;
    top: 1rem;
    left: .5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .5s ease;
    width: 2rem; /* Adjust the width and height as needed */
    height: 2rem; /* Adjust the width and height as needed */
    border-radius: 50%; /* Ensure it's a perfect circle */
}

#back-arrow:hover {
    background: var(--bg-hf-color);
    color: #ff2f00;
}


.subject{
    margin-bottom: 1rem;
    color: var(--text-color);
    text-align: center;
    font-family: "Irish Grover", system-ui;
  }
  
  .button-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0px;
    padding: 0 1rem;
  }
  
  .button {
    padding: 10px 16px;
    margin: 10px 0;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    width: calc(50% - 10px);
    max-width: calc(50% - 10px);
    box-sizing: border-box;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--logo-color);
    color: #ffffff;
    text-align: center;
    /* border: 1px solid rgb(255, 255, 255); */
  }
  
  .button:hover {
    background-color: #fe4d25;
    color: #fff;
  }
  

  
  #five,
  .button {
    justify-content: center;
  }



/* -----------------Subject page design  page End starts-----------------------. */


/*--------------------------------------------------- Design for desktop version is over ---------------------------------------------------*/

/*---------------------------------------------------Design for Mobile version is over  ---------------------------------------------------*/
/* ------------------Responsive Design for --------------*/
@media only screen and (max-width: 1045px) {

    #logo-section {
        position: absolute;
        left: 0.75rem;
        top: 0;
    }

    .menu-icon{
        display: none;
    }
    .navbar{
        display: none;
    }
    .open-icon{
        display: block;
        margin-right: 0.625rem;
        margin-top: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 0;
        /* border: 1px solid red;   */
        /* cursor: none; */

    }
    .open-icon span{
        cursor: none;
    }
    .close-icon span{
        cursor: none;
        
        
    }

    footer{
        display: none;
    }
    /* .content {
        position: absolute;
        top: 0;
        left: 5rem;
        right: 0;
        height: 100%;
        border: .2rem solid blue;
      } */

    .content{
        top: auto;
        left: 0rem;
        /* border: .5rem solid red; */
        height: 90%;

    }
    .left-sidebar.collapsed {
        transform: translateX(0);
      }


    .left-sidebar{
        position: absolute;
        top: auto;
        left: auto;
        bottom: 0rem;
        width: 100%;
        height: 10%;
        /* padding: 0; */
        /* margin-bottom: 0; */
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        background-color: var(--bg-hf-color);
        border:0;
        box-shadow: var(--back-shodow-for-sidebar);
        border-top: 0.0625rem solid var(--second-bg-color);

    }

    .left-sidebar-icon {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: color 0.3s;
        height: 100%;
    
    }

    .left-sidebar-icon i {
        padding: .4rem 2.5rem;
        font-size: 2em;
    
    }
    
    .left-sidebar-icon:hover{
        background:none;
    }
   .stay {
        color: var(--logo-color);
        background:none;
    }
}




@media only screen and (max-width: 767px){
    *{
        cursor: none;
    }
    .content{
        top: auto;
        left: 0rem;
        height: 91.222222%;

    }
    .left-sidebar.collapsed {
        transform: translateX(0);
      }


    .left-sidebar{
      position: fixed;
        height: 8%;
        z-index: 99;
        width: 100%;

    }

    .left-sidebar-icon{
      cursor: none;
    }
    .left-sidebar-icon i {
        padding: 0.375rem 1.5625rem;
        font-size: 1.2rem;
    
    }
    .side-bar-copyrights{
        height: 8.9%;
    }

    
    

}


@media only screen and (max-width: 380px) and  (max-height: 670px){
    *{
        cursor: none;
    }
    .content{
        height: 90%;
        /* border: 1px solid red; */


    }

    .left-sidebar{
        height: 8.9%;
        /* background: transparent; */


    }
    .side-bar-copyrights{
        height: 11.6%;
    }
    


}

/* -----------------desktop version responsive desing end ------------------------*/



@media screen and (max-width: 2000px) and (max-height: 640px){

    .container2{
        height: 90%;
        max-height: 40rem;
        width: 90%;
        max-width: 30rem;
        border-radius: 1rem;
        padding: 1rem;
        padding-bottom: 7rem;
    }
    
    
    .main-heading {
        font-size: 2rem;
    }

    .sub-heading{
        font-size: 1rem;
    }

    

    .subject{
        font-size: 1rem;
        margin-top: 1rem;
      }
      
      .button-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 0px;
        padding: 0 .5rem;
        /* border: 1px solid red; */
      }
      
      .button {
        padding: 10px 16px;
        margin: 10px 0;
        font-size: .80rem;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s, color 0.3s;
        width: calc(50% - 10px);
        box-sizing: border-box;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--logo-color);
        color: #ffffff;
        text-align: center;
      }
  
}





@media screen and (max-width: 2000px) and (max-height: 595px){
    .container2{
        height: 90%;
        max-width: 26rem;
        border-radius: 1rem;
        padding: 1rem;
        padding-bottom: 7rem;
    }

    .main-heading {
        font-size: 1.5rem;
    }

    .sub-heading{
        font-size: .85rem;
    }

    

    .subject{
        font-size: .85rem;
        margin-top: 1rem;
      }
    

    .button {
        font-size: 1rem;
      }

}

@media screen and (max-width: 2000px) and (max-height: 595px){
    .container2{
        height: 90%;
        max-width: 28rem;
        border-radius: 1rem;
        padding: 1rem;
        padding-bottom: 7rem;
    }

    .main-heading {
        font-size: 1.5rem;
    }

    .sub-heading{
        font-size: .85rem;
    }

    

    .subject{
        font-size: .85rem;
        margin-top: 1rem;
      }
    

    .button {
        font-size: .65rem;
      }

}
@media screen and (max-width: 2000px) and (max-height: 562px){

    .container2{
        height: 90%;
        max-width: 24rem;
        border-radius: 1rem;
        padding: .2rem;
        padding-bottom: 7rem;
    }
    .button {
        font-size: .55rem;
      }
}

@media screen and (max-width: 2000px) and (max-height: 507px){
    .container2{
        height: 90%;
        max-width: 23rem;
        border-radius: 1rem;
        padding: 0;
        padding-bottom: 7rem;
    }
    .button {
        font-size: .50rem;
      }
}




/* -----------------desktop version responsive desing end ------------------------*/


/* -----------------mobile version responsive desing ------------------------*/

@media only screen and (max-width: 767px) {

    .main-content{
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 0.5rem;
    }
    .container2 {
        margin-top: 2rem;
        max-height: none;
        height: auto;
        width: 95%;
        max-width: 95%;
        padding: 1.5rem 0.5rem;
        padding-bottom: 2rem;
    }

    .main-heading {
        font-size: 1.8rem;
    }

    .sub-heading {
        font-size: 1.2rem;
    }

    .subject {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .button-row {
        padding: 0 0.5rem;
        margin-bottom: 0.5rem;
    }

    .button {
        font-size: 0.85rem;
        padding: 12px 8px;
        margin: 8px 0;
        width: calc(50% - 8px);
        max-width: calc(50% - 8px);
        min-height: 3.5rem;
        max-height: none;
        height: auto;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.3;
    }

    #back-arrow {
        top: 0.75rem;
        left: 0.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media only screen and (max-width: 480px) {
    .container2 {
        margin-top: 1.5rem;
        width: 98%;
        max-width: 98%;
        padding: 1.2rem 0.3rem;
        padding-bottom: 1.5rem;
    }

    .main-heading {
        font-size: 1.5rem;
    }

    .sub-heading {
        font-size: 1rem;
    }

    .subject {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        margin-top: 0.5rem;
    }

    .button-row {
        padding: 0 0.3rem;
    }

    .button {
        font-size: 0.75rem;
        padding: 10px 6px;
        margin: 6px 0;
        width: calc(50% - 6px);
        max-width: calc(50% - 6px);
        min-height: 3rem;
    }
}

@media only screen and (max-width: 380px) {
    .container2 {
        margin-top: 1rem;
        padding: 1rem 0.2rem;
        padding-bottom: 1.2rem;
    }

    .main-heading {
        font-size: 1.3rem;
    }

    .sub-heading {
        font-size: 0.9rem;
    }

    .subject {
        font-size: 0.9rem;
    }

    .button {
        font-size: 0.7rem;
        padding: 8px 5px;
        margin: 5px 0;
        width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        min-height: 2.8rem;
    }
}

@media only screen and (max-width: 320px) {
    .main-heading {
        font-size: 1.2rem;
    }

    .sub-heading {
        font-size: 0.85rem;
    }

    .subject {
        font-size: 0.85rem;
    }

    .button {
        font-size: 0.65rem;
        padding: 8px 4px;
        margin: 4px 0;
        width: calc(50% - 4px);
        max-width: calc(50% - 4px);
        min-height: 2.5rem;
    }

    .button-row {
        padding: 0 0.2rem;
    }
}

/* -----------------mobile version responsive desing end ------------------------*/
